Skip to content

Add support for derivatives. Improve error handling, logging, and build process. - #3

Open
yahiaali wants to merge 861 commits into
mainfrom
dev
Open

Add support for derivatives. Improve error handling, logging, and build process.#3
yahiaali wants to merge 861 commits into
mainfrom
dev

Conversation

@yahiaali

@yahiaali yahiaali commented Oct 31, 2024

Copy link
Copy Markdown
Contributor

This PR adds in a multitude of feature that have been used internally for the past few months. The primary changes are as follows:

  • supervisor and booter can now run derivatives, which are scripts that can be added on to the end of a graph or executed on their own. These are typically used for data export or model training.
  • Log messages are now saved to a Redis stream
  • The Makefile now has an option to build only the nodes that are being used in a particular graph

mirigotti and others added 30 commits August 29, 2022 16:58
Moving some NWB configuration parameters to the graph for flexibility, updated documentation
Keep supervisor running when an error occurs in command execution
…for nodes not crashing during initialization
Update exportNWB to read source node from 'derivates' secion of graph YAML
Hotfix: booter host ip arg flag changed from 'hs' to 'i'
theForerunner and others added 26 commits June 4, 2024 13:07
Fix for stop graph and save blocking issue
@yahiaali
yahiaali marked this pull request as ready for review February 19, 2025 22:03
@cpandar

cpandar commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@mirigotti @yahiaali any reason not to merge this?

@cpandar

cpandar commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@tscizzlebg @davansin any thoughts?

@tscizzlebg

Copy link
Copy Markdown
  1. I did a diff between this PR's resulting repo, and our current brand-core repo. It does seem that this PR mostly just brings brandbci/brand up to speed with what BG has been using successfully already. However, it's not exact. There's a few more recent changes in brand-core that are not included in this PR (e.g., a new graph status "stopping", a new arg to derivatives "delay_sec", some documentation updates, some brand.c function return type changes). Might as well get all the way up-to-date? (But if that's enough friction to slow things down, then please ignore.)
  2. I have not kept close enough track to backward-compatibility, like if there are minor one-off things each BG site had to do when any of these changes were made originally. So my only answer to the question "any reason not to merge this?" is a follow-up question: @mirigotti @yahiaali do you know if current BRAND users will have to do anything extra to adopt this new version, besides just pull the code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants